﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using UTable.Core.Windows;
using UTable.Core.Objects;

namespace UTable_v2._0
{
    /// <summary>
    /// App.xaml 的交互逻辑
    /// </summary>
    public partial class App : UApplication
    {
        protected override void OnTabletopLoaded(RoutedEventArgs e)
        {
            base.OnTabletopLoaded(e);
            DoTest(typeof(UObjectTest));
        }

        public void DoTest(Type objectType)
        {
            UObject test = new UObject();
            test.Width = test.Height = 100;
            this.Root.ContentCanvas.Children.Add(test);
        }
    }
}
